package com.haitao.po;
import com.fesine.dao.BasePo;

import java.util.Date;
import java.math.BigDecimal;

public class ItemPo extends BasePo {
	private static final long serialVersionUID = 1L;
	//alias
	public static final String TABLE_ALIAS = "Item";
	public static final String ALIAS_ID = "商品id，同时也是商品编号";
	public static final String ALIAS_TITLE = "商品标题";
	public static final String ALIAS_SELL_POINT = "商品卖点";
	public static final String ALIAS_PRICE = "商品价格，单位为：分";
	public static final String ALIAS_NUM = "库存数量";
	public static final String ALIAS_BARCODE = "商品条形码";
	public static final String ALIAS_IMAGE = "商品图片";
	public static final String ALIAS_CID = "所属类目，叶子类目";
	public static final String ALIAS_STATUS = "商品状态，1-正常，2-下架，3-删除";
	public static final String ALIAS_CREATED = "创建时间";
	public static final String ALIAS_UPDATED = "更新时间";
	

	//columns START
    /**
     * 商品id，同时也是商品编号       db_column: id 
     */ 	
	private Long id;
    /**
     * 商品标题       db_column: title 
     */ 	
	private String title;
    /**
     * 商品卖点       db_column: sell_point 
     */ 	
	private String sellPoint;
    /**
     * 商品价格，单位为：分       db_column: price 
     */ 	
	private Long price;
    /**
     * 库存数量       db_column: num 
     */ 	
	private Integer num;
    /**
     * 商品条形码       db_column: barcode 
     */ 	
	private String barcode;
    /**
     * 商品图片       db_column: image 
     */ 	
	private String image;
    /**
     * 所属类目，叶子类目       db_column: cid 
     */ 	
	private Long cid;
    /**
     * 商品状态，1-正常，2-下架，3-删除       db_column: status 
     */ 	
	private Integer status;
    /**
     * 创建时间       db_column: created 
     */ 	
	private Date created;
    /**
     * 更新时间       db_column: updated 
     */ 	
	private Date updated;
	//columns END

	
	public Long getId() {
		return this.id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	
	public String getTitle() {
		return this.title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}

	
	public String getSellPoint() {
		return this.sellPoint;
	}
	
	public void setSellPoint(String sellPoint) {
		this.sellPoint = sellPoint;
	}

	
	public Long getPrice() {
		return this.price;
	}
	
	public void setPrice(Long price) {
		this.price = price;
	}

	
	public Integer getNum() {
		return this.num;
	}
	
	public void setNum(Integer num) {
		this.num = num;
	}

	
	public String getBarcode() {
		return this.barcode;
	}
	
	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	
	public String getImage() {
		return this.image;
	}
	
	public void setImage(String image) {
		this.image = image;
	}

	
	public Long getCid() {
		return this.cid;
	}
	
	public void setCid(Long cid) {
		this.cid = cid;
	}

	
	public Integer getStatus() {
		return this.status;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}

	
	public Date getCreated() {
		return this.created;
	}
	
	public void setCreated(Date created) {
		this.created = created;
	}

	
	public Date getUpdated() {
		return this.updated;
	}
	
	public void setUpdated(Date updated) {
		this.updated = updated;
	}


	

}

